package net.sxnic.ugr.resource.action;

import net.sxnic.ugr.resource.Resource;

@SuppressWarnings("serial")
public class PreCreate extends ResourceAction {
	
	public String execute() throws Exception {
		try {
			checkRoles(Resource.SYSTEM_ADMIN);

			resource = new Resource();
		} catch (Exception e) {
			e.printStackTrace();
		}

		return SUCCESS;
	}
}

